//
//  DeviceHeadView.m
//  DTNAPU
//
//  Created by wei wang on 2016/11/8.
//  Copyright © 2016年 wei wang. All rights reserved.
//

#import "DeviceHeadView.h"

@implementation DeviceHeadView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
+ (instancetype)headerViewWithTableView:(UITableView *)tableView{
    
    static NSString *ID = @"DeviceHeadView";
    DeviceHeadView *headView = [tableView dequeueReusableHeaderFooterViewWithIdentifier:ID];
    if (headView == nil) {
        
        headView = [[DeviceHeadView alloc] initWithReuseIdentifier:ID];
        
    }
    return headView;
}



@end
    
